<template>
  <div class="backtop" @click="backtopClick">
     <img src="~assets/img/common/top.png">
  </div>
</template>

<script>
export default {
  name: 'backtop',
  methods: {
    backtopClick() {
      this.$emit('backtop')
    }
  },
}
</script>

<style lang='stylus' scoped>
.backtop
  position absolute
  right 5px
  bottom 60px
  z-index 10
  width 50px
  height 50px
  img
    width 100%
</style>